import React from 'react';

const Home = React.lazy(()=> import('../mobile/pages/Home'));
const Login = React.lazy(() => import('../mobile/pages/Login'));
const FindPwdTone = React.lazy(()=> import('../mobile/pages/FindPwd'));
const RegisterTone = React.lazy(()=> import('../mobile/pages/Register'));
const ValidAuthTone = React.lazy(()=> import('../mobile/pages/ValidAuth'));

const routes = [
    { path: '/home', component: Home },
    { path: '/login', component: Login },
    { path: '/authen', component: ValidAuthTone },
    { path: '/register', component: RegisterTone },
    { path: '/find-code', component: FindPwdTone },
]

export default routes;